package com.qidianit.mes.pro.service;

import com.github.pagehelper.PageInfo;
import com.qidianit.mes.pojo.Result;
import com.qidianit.mes.pojo.pro.Process;
import com.qidianit.mes.pojo.pro.ProschedueTask;

import java.util.List;

/**
 * @Description:
 * @Author: YanJiRan
 * @Date: 2025/9/24 - 下午6:47
 */
public interface ProschedueTaskService {
    Result<List<ProschedueTask>> selectListByWorkflowId(Long id);
    /**
     *
     * @param proschedueTask
     * @return
     */
    Result<List<ProschedueTask>> selectList(ProschedueTask proschedueTask);

    /**
     *
     * @param proschedueTask
     * @return
     */
    Result<ProschedueTask> saveProschedueTask(ProschedueTask proschedueTask);

    /**
     *
     * @param id
     * @return
     */
    Result<ProschedueTask> selectById(Long id);

    /**
     *
     * @param proschedueTask
     * @return
     */
    Result<ProschedueTask> updateById(ProschedueTask proschedueTask);

    /**
     *
     * @param id
     * @return
     */
    Result deleteById(Long id);

    /**
     *
     * @param ids
     * @return
     */
    Result batchDelete(Long[] ids);
}
